package com.bzkj.web.controller.yxl;

import com.bzkj.basicinfo.service.yxl.YxlReportService;
import com.bzkj.common.core.controller.BaseController;
import com.bzkj.common.core.domain.AjaxResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author：swj
 * @Desc
 * @Date：2025/8/20 9:50
 */
@RestController
@RequestMapping("/yxl/largeScreen")
public class YxlLargeScreenController extends BaseController {

    @Autowired
    private YxlReportService yxlReportService;

    @GetMapping("/largeScreenBillsInfo")
    public AjaxResult largeScreenBillsInfo() {
        return yxlReportService.largeScreenBillsInfo();
    }

    @GetMapping("/largeScreenLowInventory")
    public AjaxResult largeScreenLowInventory() {
        return yxlReportService.largeScreenLowInventory();
    }

    @GetMapping("/largeScreenExpWarning")
    public AjaxResult largeScreenExpWarning() {
        return yxlReportService.largeScreenExpWarning();
    }
    @GetMapping("/largeSalable")
    public AjaxResult largeSalable(String stoId, String drugName, String spbh, String startDate,String endDate) {
        return yxlReportService.queryLargeSalable(stoId, drugName, spbh, startDate, endDate);
    }

    @GetMapping("/wmsUserKpi")
    public AjaxResult wmsUserKpi() {
        return yxlReportService.wmsUserKpi("1","");
    }
}
